Sometimes He does punish nations (Isaiah. 2 Chronicles, Jeremiah come to mind right away). All the same, he no longer punish individuals for other peoples transgressions (Ezekiel 18, Samuel 3, etc) as was indicated in earlier scripture. So its a bit of a mixture I think as logically its still possible for an innocent person to be hurt if her country merits punishment? But in general each person is judged as an individual