I've been fired twice. The first was on a trumped up excuse to replace me with the son of the country GM, an 18 year old youth who wanted to live in CPT, had no experience in the industry, and turned out to be a disgrace to the company. I got a good package of both remuneration and benefits, and went on to far better things.
The second was when I engineered being fired from a company in which I was utterly miserable, and I derived even greater benefits in every sense of the word from the situation. Subsequently they asked me to go back and work for them as a consultant, thus on my terms and conditions, enabling me to continue to enjoy the core activity but not suffer the politics, backstabbing, and bureaucracy which had soured the job.
As someone else said, once it's happened, it holds no fear. Turn it to your advantage.