Severance pay with NY source, but moved to CA.

Hi! I was laid off in August and moved back to CA in August. I didn’t find employment again until January 2020. I received 2 W-2 for 2019. One was regular wages and the other one for my severance. How do I enter my severance when I file my NY taxes? I think I have to file as part time resident,  but do I enter everything under wages? Or do I need to input the severance pay under special accruals?