IF my employer has a campus in 2 states and I work in both states, CAN both states tax me on a 401K withdrawl from a previous employer OR can only my home state tax me?

I only earned like 2k in the other state, and all remaining income in my home state. Does my 401K withdrawl count as income in BOTH states and taxable in both states?