Claire,
I would say it will depend on the spice, and how and where it is stored. Ground spices will deteriorate faster, as they are exposed to the air/moisure more. Whole spices will last longer, and if you can grind your own on demand, this would be the better option. Watch for µorganism...