The most “Earth-like” planet ever discovered orbits an identical star at relatively close to the same orbit and is almost exactly the same size and mass as Earth. It is called Venus. I suspect that most “Earth-like” exoplanets are actually more Venus-like, Mars-like or Mercury-like.
There are other factors, such as having a molten iron core and resulting magnetic field and having a large moon, that are probably just as important to the development of life as a planet’s size, mass and the distance that it orbits around its star.
Air and an ocean..................