Thankfully, the company I work(ed) for was unreasonably cool about it - they gave me a good 5-6 weeks off, kept in touch while making it clear I would be welcomed back, and finally, re-instated me and offered a significant promotion and raise if I could move to another office in another state.
That's what did the trick - I was unable to see clearly that it wasn't the job, it was the living conditions that were really the problem (shared a house with my brother as he descended into alcoholism). Accepting the new position and moving across country was reinvigorating, even though we got to the new city mere days before the lockdowns hit.
Anyway, turns out I got a massively lucky break here and doubt I'll ever pull such a stunt in the future. Despite the lockdowns _everything_ has improved and my child and I are flourishing.
Point is - if you are about to make such a stress induced, abrupt, massive decision with no backup plan... it's worth being clear about it to your employer, taking a leave and gaining some perspective. It really is the case that you may regret it!
This little episode messed up my credit, threatened the well being of my kid, put even _more_ stress on me to figure things out. Despite the good outcome I'd strongly recommend nobody ever do anything like this. I could very easily ended up in a hovel or out on the street or some sort of horrible crap like that.