Flaps up AFTER clearing the runway. Unless it's a short-field landing. Retracting flaps transfers AC weight from the wings to the wheels where braking will have a greater effect.
FAA-H-8083-3A (most recent version of Airplane Flying Handbook which most examiner types look at as a bible) removes the previous suggestion that flaps should be retracted during a short field landing. If the POH says otherwise perhaps it would have consideration. I don't see much value in teaching students to do that and agree with the vebiage The habit of positively identifying both of these controls, before actuating them, should be formed from the very beginning of flight training and continued in all future flying activities.
As a totally unrelated piece of useless information. If you pull of flaps in an AC560 on roll out the nose will shoot up as the elevator gains substantial (scarey) authority. You can keep the nose in the air till about 15-20mph which looks extremely cool in a 747 fashion to on lookers. I wouldn't teach it to a student and while probably not the smartest thing to do, every so often I indulged my guilty pleasure.