It depends. If I remember some bombs would use tritium (half life 12 years) to introduce neutrons to ensure chain reaction at right time. As to the fissile material itself, those all have long half lives and should be viable for tens of thousands of years.