If you lose your job, you may be able to qualify for unemployment benefits. This can get some funds flowing your way to help tide you over until you land a new job.
Severance pay can be provided for employees after they are no longer employed at a company.