Basically dehydration and radiation have the same effect on DNA and other large molecules. The major effect of a hard vacuum is dehydrations. Being able to survive both of these is just a side effect of being able survive dehydration.