How early you pressed dodge, counted back from the moment the enemy hit lands.
Seconds before the hit lands that you pressed dodge
Perfect dodge
Dodged, no perfect dodge
No invulnerability, the hit lands