Can i use an MPU-6050 upside-down?

So for example in this case the Z axe is upside down and I should transform it with that axe inverted?

Sorry If I didn't understand correctly but I don't know much about transformation matrix