If one is of verge of depression (or similar stuff) then removing routines in your life is in general not going to fix things, but make things worse.
A long vacation or unpaid leave, sure. But quitting work without a concrete plan to return and definite exit point feels dangerous. If one isn't in the right place mentally suddenly you are just stuck at home watching Netflix in a downward spiral, instead of all those exciting things you planned on doing but somehow don't end up doing.
I remember seeing a post from someone on HN that started in this place, then did quit work for a year. It seemed quite obvious reading about that journey that attempting a "reset" just made things worse.
Personally, in between jobs a long time ago, I chose to walk the Henro Trail, an approximately 800-mile Buddhist pilgrimage trail in Shikoku, Japan. To make a long story short, it was the experience of a lifetime.
There is a wonderful book, Japanese Pilgrimage by Oliver Statler. He goes into the history of the pilgrimage and of Kobo Daishi, the monk whose path the trail follows. He also discusses his own personal experience walking the trail.
I thing, like another guy said, teaching might be a good way.
Also, "tech" is big. Maybe a job in industry automation might be something. You nod just see something on a screen, you can touch the result. I'm in this, it is also sometimes stressful, but also very interesting.