If you moved during the year (changed your permanent residence), you are a part-year resident of each state. You must allocate each item of income to the state where you are living when it was paid.
You should not be filing a full year resident for one state and a non-resident for the other state.