Well...almost everyone that works is in the same dilemma. If you don't work you won't have the means to do stuff like eat, somewhere to stay, clothing, transportation. You know...the stuff you need for life.
If you can afford to leave your job then why not! Take an early retirement and enjoy your life. Do things on your own time with no restrictions or time constraints! Enjoy, life is too short:)
If you did that, you'd be sleeping on the streets along with your pet and/or child. Now tell me. What would be the better choice? Have a plan to get out of the situation you're already in, but don't implement it until you have a new home, job, and food in the fridge.