Yes, you get a severance when the company fires you for no really good reason and they just want you to not sue them.
It actually happens MOST of the time in professional contexts.
"Severance" is usually no big deal, it's like 1-3 months worth of paychecks.