A coworker of mine years ago was having domestic issues. He got separated one week and lost his job three weeks later. His marital issues consumed him and affected his performance at work which ultimately lead to his dismissal. Same thing probably would have happened to me if I were in his shoes..
Keep your head up, network, file for unemployment, and be open to relocation to maximize your options. A fresh start into a new city one the heals of a divorce wouldn't be a bad thing.
I'm pulling for you.