We live near the state border. Our state does not tax teacher pensions (and probably other public service pensions as well–don’t know). The state next door does. I know of several teachers who moved across the state line upon retirement as a result of this fact.