Generally, ammo will remain functional for decades, even a century or more, if properly stored. But some solvents can penetrate even the "oil proof" primer sealers, so never spray a penetrant or gun cleaner on a loaded gun.
In practice, I agree with the others on shooting the carry ammo at the next range session, which should be sooner than six months if you hope to keep up any kind of skill. If I lay off for even a month, my accuracy is terrible for the first 10 or so rounds, the very ones I would need in a carry gun.
One more point. Some misguided folks practice with one kind of ammo (cheap) and carry another (expensive). Not a good idea. One guy who did that was a bit surprised (to put it mildly) when he found that the super ammo he was staking his life on would not work in his gun. The chambered round fired, but all the others in the magazine jammed.
Jim