State tax filing

This is very interesting. But how does one know how much of retirement withdrawals are attributable to employer contributions? Especially if I rollover 401k to an IRA. Am I supposed to keep track of employer contributions every year in case I move to Hawaii 20 years from now?