Earth is not an inertial reference frame.
But it is a perfectly correct frame of reference and much better than all others I can think of. Where else is there proven intelligent life?