MPU6050 Acceleration Detection

Couldn't you just keep a running sum of ax and another for ay and when that sum is not close to zero then the vehicle is in motion?