ederm
Returning Member

Moved but continued to get paid from my old job

I have a question regarding income earned in one location while living in another.  I moved from my Job in NYC to my parents house in MA and then to a new job in CA.  I had significant vacation so I continued to get paid from my job in NYC while in MA and after I moved to CA.  I also got a significant bonus that was paid after I move to CA.  NY and NYC  taxes were taken out even though when I was paid (income earned?) I was not a NY resident and had already given up my apartment in NY.  I thought income is earned when received and I should pay taxes to the place I was resident/domicile at the time I was paid.

Even though I was only in MA for a month would I be considered a resident in this case?  Are there clear rules how to handle this income?