Retirement tax questions

Okay but is there anyway to specify the income used for the 401k is coming from Colorado?

What Colorado will do is see that I deducted my retirement contributions and look at my Federal AGI and Colorado income for taxes but I want the Colorado income to be the only source of income that I put into retirement. Wyoming is the other state with no income tax and I do not want to use my 1099 income for retirement from this state. Does the timing of contributions matter? For example if I contribute before I move to Colorado to work for my 1099 I cannot claim this is Colorado income being used for retirement? How does the software register this?

 

Thank you