Mobil says 5 year shelf life.
Amsoil says 5 year shelf life.
Pennzoil says 4 year shelf life.
Valvoline says never expires.
IMO, if oil is in a sealed container (even if it has been opened then recapped), so long as it is stored indoors and not in sub arctic or Saharan temperatures, it is fine to use for decades.
also, as long as the API specs meet the vehicle spec it is being used in, no issues.