The habitable zone (HZ) of a star is defined to be that distance where a planet could reside and maintain a surface temperature that allowed liquid water to exist. It is time dependent, always moving outward as the star ages.
Earth.
Is inside the HZ and
the CHZ, mostly because of its greenhouse gases. In less than a billion years,
however, we will move outside the
Sun's HZ.
Venus
Is just outside the Sun's HZ. Venus
boiled all its water to the atmosphere, leaving all the CO2 in the
atmosphere, creating an extreme greenhouse. Early Venus may have been further
inside the HZ when the Sun was younger.
Mars
Is now outside the HZ, though it may
have been earlier. This is puzzling
since the Sun was less luminous then than now.
It is clear that distance is not the only issue.