Wine is a liquid that often gets better with age and the shelf life of wine is very different due to the many types of wine and the location of where it's made. Wine will taste good though no matter if it is 1 year or 100 years old.
Depending on the type of wine, where and how it was produced, you can expect it to last anywhere from a year to 100 years. Many vintage and expensive wines are over 50 years old or more. Wine gets better with age.
There is not really a shelf life for bottled wines. Bottled wines can last for decades. Boxed wines, however, do have expiration dates that should be followed. These types of wines usually are good for about six months.
You can keep wine for decades as long as you store it properly, wherever you store it must be below 70 degrees Farenheit and above 20 degrees; this allows for the wine to mature slowly and become more complex in it's taste.