Depends on your distance and the type of nuclear device used. Also many people aren't well disposed to the kind of existence surviving a large scale nuclear event would entail.
Well my point is that if you look at the type of injuries sustained by people in Hiroshima and Nagasaki then anything is better than being exposed to that. It's likely that you aren't going to have a quick and painless death in the way you would want. It's probably better to take active steps to try and avoid the blast, there's a fair chance you can actually survive unless you're close to the immediate blast zone.