Well, all I can add is that I've been laid off twice. Both times it was devastating. The blow to the ego and the loss of security is immense. But both times I have ended up better than I was before.
It's hard to see it at the time, but sometimes these sort of things open up possibilities that you would have never seen.