You'd need both time travel and teleportation, or else you'll find yourself in space when you travel forward or back in time. The Earth isn't a stationary object
Actually, teleportation would be more powerful than time travel, since you can travel through different times as well with teleportation as an ability, but you can only teleport to a different time with time travel.
that said, if you go to the matrix and ask for the power, it's not liable to give you half-assed solutions that don't take the details into account. Therefore it would already take into account the relative displacement and correct accordingly.