Question: can nuke explode in space?
Answer: Fortunately, you needn't worry about a nuclear bomb of this caliber being detonated in space. Researchers learned a lot from the tests conducted in 1962, and one of the lessons learned was that detonating nukes in space isn't a good idea. That said, it'll probably never happen again.