OP, sorry about your situation. Do your best to not touch your 401k, unless you can do a loan and use the longest payback method.
Cut your cost of living the best you can.
Also, if you don't have income, then just take can job that is available, like sub teaching to pay the bills.
Whatever you do, just don't panic. Stay calm in this situation the best you can. Eventually, things will come through for you,, trust me. I have been downsized 7 times, and things always worked out. However, I probably cost myself about 200-400 k over time because I touched the 401 k too many time in a panic mode. don't make my mistake. learn from this. and, I would add that you should always about about 50-100 k in emergency cash at all times, while having a monthly cost of living around 2-3 k/ month. Anything higher than 3 k/ month for all bills is way too high, in my honest opinion. and I make about 150 k/ year at this point in my life.