It depends.
Your income is sourced where it is earned so if you work for the same employer but performed the work in different states, then you will allocate your wages between the 2 states.
Divide your wages based on the time in each state and
report these separately as a part-year resident of each state.
If you
move from one state to another during the year, you should file as a part-year
resident in both states. This will treat you as a resident of each state only
for the days that you lived in that state so that you can avoid being
double-taxed.
So for
state tax purposes, you will need to divide up your wages based on the time you
were a part-year resident of each state. If your employer only withheld taxes
from one state, you may owe taxes in the state for which no state withholdings
were taken out but you may get a refund in the state where extra withholdings
were taken out.
Please note that, for example, if you have rental income from GA while a part-year resident of NC, then this will still be considered GA-source income even though you moved to NC. In this instance, you would be taxed in both states but would get a credit in NC for the part of the year that you received your GA-source rental income as a part-year resident of NC.
Check
below for more information about filing a part-year state tax return (Please
select "see entire answer" to see full answer)
https://ttlc.intuit.com/replies/3302008