I had a six-month emergency fund before I left my job. But just as important, I had zero non-mortgage debt, such as credit cards, car payments and student loans. This helped control my month-to-month costs and extend my runway if needed.