Not only is required by law, but it's also required for very good reason, to protect both drivers and their vehicles while stopped on the side of the road.
Take a look at all the instructions from the Massachusetts Registry of Motor Vehicles driver's manual and let us know if you follow all the rules exactly.