It’s not the same if you look into it deeper
If you take a voluntary separation then you get paid X amount but you are not eligible to collect unemployment benefit
If you are laid off and given a severance then you are eligible for unemployment benefits
I say that in general as some states might have different laws