Spices that are dried can sit for ages and ages and still be edible. They might lend a rather stale flavour to your food though.
Nutmeg is another story. It has oils and moisture in it (if it's a real nutmeg). And nutmeg is a toxin to begin with. So, if it's old (of unknown age), I'd toss it and get a new one.