You could rule it either way. Divine Castigation is on attack, not on damage, so nobody could have possibly taken damage yet which seems to make it clear that the attack simply hasn't happened yet and could thus be moved around; if someone wanted to get super technical about it, you would have...