Asafoetida is like nuclear waste, it doesn't go off quickly.
I find most of the spices in the little pots from the supermarket start out pretty bland so aren't worth keeping around; it's better to get the stuff from an Asian supermarket, the downside of which is that you end up with half a kilo of cloves and I don't plan to be cooking curries for the next five hundred years.