I had a layoff like that, they gave me the option of choosing. Lump sum or "stay on the payroll but have no access."
I went with the latter because it paid better.
For a while I was always stressed out about background checks, because it showed that I was working two jobs. (I got a job to replace it almost immediately, but continued to get paid by the old place.)