If a bonus is received after retirement and I have moved to a new state, do I pay taxes to the state where the money was earned or where it is received?

I will be receiving bonuses for company performance for 3 years beyond my retirement.  If I move to a new state that does not collect taxes once I retire, will I still have to file a state return in my previous state and pay taxes where the business is located and where the money was earned ?