Know when to stop for a school bus

Surely you know it is ILLEGAL to pass a STOPPED School bus with its STOP sign out and all lights flashing????

But…when do you stop and when do you not have to stop? Whenever the road is open lanes, undivided to traffic you are required to stop- if the road is divided and you are traveling the opposite direction of the school bus which is stopped- you would not have to stop.