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.