Not quite! Inertia also applies to resistance of objects in motion to stay in motion.
When Newton did all his theorizing, he spoke relative to the Earth. However, expand the frame of reference to the sun, let's say, and the same rules hold true.
Funny how that works!