Here (life and RP) policy is that drivers stop, pull the parking brake, then open the door. Technically the student is not supposed to stand up until the parking brake is applied and the door is opened, but nobody follows that policy. Bottom line: Stop, apply parking brake, and then open the door.