State tax filing

the turbo tax interface for this situation is confusing.  it asks how much i earned that i should allocate to Michigan.  Then how much i earned while i was a resident of michigan.  it sounds like because the state i moved to was illinois, and i maintained my michigan job, i should report 100% to Michigan regardless of residency status.  This is not intuitive at all and results in an incorrect tax calculation for both michigan and illinois if the residency question is answered as anything less than 100% to Michigan.