Partial-year resident state returns. Do I include all W-2's and 1099's with both state filings, even when income on some 1099's and W-2's were earned in only one state?

One company sent me two 1099's for the same income stream - one for earnings while resident in one state, one while resident in the other state.

W-2's were all earned in only one state (I retired and moved). Some 1099's were for income only while in one state, with zero income in the other. Do both states need the W-2's anyway, and do the also need all 1099's? Including the differentiated 1099's in the first sentence?