Earth’s orbital distance has pretty much always been “perfect” though. It hasn’t really changed much since it’s formation 4-5 billion years ago.
Unless you mistyped and you’re talking about the moon’s orbital distance? In which case, it’s actually kind of the opposite of what you’re claiming. It’s estimated that life first popped up pretty close to when the planet and moon finished forming, at which point the moon’s orbital distance would have made it appear larger than the sun and probably fully obscure the sun + it’s corona during an eclipse.








The moon, due to it’s unusual size and proximity for a moon, has a much greater effect on the tides than the sun. That’s why the tides are more closely linked to the moon’s orbit around the earth, not the Earth’s around the sun.