So you file in both states as part year residents. Check out towards the bottom of the federal client information worksheet