If severance is in your contract, and the company is insolvent, you are SOL. It is not like any other obligation, as an example, unemployment: your company pays into unemployment funds every month (mandated by government), which is what allows you to collect if you're let go, regardless of their solvency situation.
A severance agreement with a bankrupt company is worthless.