Account for Rotation with Acceleration Vector?

I’ve got an acceleration vector to show how much I’m drifting. Any idea how I can account for rotation? So if I’m sideways, UP will still be “UP relative to my actor”, even though I’m sideways.