Sorry for your loss. I got laid off in 2008 and went through the stages of grief. Took a long weekend trip. Then I got busy interviewing and landed a much better job than I lost. Still with that company 15 yrs later. You will land on your feet but give yourself some time to grieve.
Similar events here. Laid off in 2010 as a result of the recession. Went to visit some family for a few days, got another job that was better. Then that led to an even better opportunity 7 years ago where I can work from home, make more money than I ever would have originally at that place, and have unlimited PTO so I can be involved with the kids' activities at school. The job I have now is one I had no idea existed so goes to show you just don't know what's out there.