In a dry environment without a lot of temperature fluctuation (for example, Los Angeles) and properly stored, quality commercial ammo will last about a decade or two. Maybe more if they're stored in a well sealed container as one might store surplus ammo during the off-season.
The article How To Property Store Ammo in Guns & Ammo discusses what causes ammo to degrade and how long you can expect it to last.
According to Rick Patterson, Managing Director of SAAMI, “In fact as long as your ammunition is stored at normal room temperatures with low humidity, it can function reliably for decades.”
...
“It’s easy to forget just how much conditions vary through the year, let alone over the course of many years,” said Tim Brandt, Media Relations Manager for Federal Premium Ammunition. “Here in Minnesota it can hit 100 degrees in the summer and negative 30 in the winter.”
...
Ensuring a low-humidity environment is another storage priority. According to Patterson, “there’s no hard-and-fast level to strive for, but generally the lower the better.”
...
Then there are the many types of Russian-made, surplus “Spam Cans.” The steel cans are sealed tightly against air and water, requiring a special tool or screwdriver to pry them open. Some shooters swear by these cans to keep ammo fresh for decades. The cans are commonly shipped with 7.62×39 or 7.62x54R loads—quantity varies, but 640 rounds is typical.
...
Luckily, as long as you adhere to these basic recommended guidelines, you’re almost certain to get a decade of use out of every box of shells. Our grandfathers couldn’t expect that.