If the company keeps you on payroll and pays you weekly, then you cannot collect unemployment. If the company gives you a lump sum then you may be able to.
If a condition of the severance is that you sign a document saying you are quitting instead of being fired, then you cannot collect unemployment.
My understanding comes from recent googling because of similar layoffs that happened at my company. I'd welcome more informed thoughts on the matter.