What decides it is that the road has a shoulder. Stopping and parking are allowed on the right side of the road, at the edge of the sidewalk or on the shoulder, and at the edge of the roadway only when there is neither. The shoulder is meant, among other things, for vehicles to stop on. So a bus that has somewhere to pull over must stop on the shoulder and may not stay on the roadway