Will state tax apply for IRA withdrawal if I move states

If I made traditional IRA contributions in California, I could save on state tax on the contribution in my state tax return.

But if I retire in a different state with no state tax, then I assume I don't need to pay any state tax on the withdrawals I make, even though I may have deducted it my earlier California returns.

Am I missing something here? Do I owe any tax w.r.t IRA contributions to the state of California during the year I make the move?