It's generally advisable to secure a new job before leaving, but sometimes it's necessary. If you do leave without a new job, have a clear plan for your job search and financial stability.