I can't speak to all oil formulations. Generally speaking, motor oils are designed to work in hot engines for a long time, and so should be quite stable at ambient temperatures for years if properly stored. How many years may vary per oil, but personally I would be comfortable up to five years for a modern certified oil. I would shake the bottle before using in case any additives settled out.