Radiation levels immediately following a nuclear war might be much worse than Martian radiation levels. Moreover, even if is Earth more habitable after the war, if everyone on Earth is dead, this won't matter very much.
It the war killed everybody, including those who have moved to the hypothetical Mars-style colonies (on Earth), then yes. That would have to be a pretty intensive war, though.
Article on space.com