Five years seems to be the general recommendation:
Oil shelf life | Passenger Car Motor Oil (PCMO) - Gasoline Cars/Pickups/Vans/SUVs | Bob Is The Oil Guy
I've also wondered about oil shelf life, since I maintain 5 vehicles and add to my stash only when there are sales. Here's what my current stockpile looks like ( I know, it's a disease...)