Theoretically, yes, most oil manufacturers will say that the oil has an expiration date... it varies from 5 to 10 years, from what I've seen they publish.
2 years should be no problem at all, if you store it properly.
You should also look at the mfg date on the container - some of that stuff that goes on clearance can be pretty old to begin with.