Yes. Been standard since 1990s. IDK if it's actually required but everyone does it. At a minimum they store data of the last N seconds before deployment. It's mostly for debugging problems and preventing insurance fraud. The data can be pretty sparse depending on year/make/model. Like in the 90s it was little more than speed and throttle position.