Be careful

That said, I strongly suggest everyone getting a dash cam that has both front and rear cameras. I know I won't drive without one.

would it be recording in this situation?

not being a smart alec, but really, what are the parameters?
the car was probably not running, and who knows if the ignition was in accesory mode or not