If earth and mars switched orbits around the sun, would earth still be habitable?

Not if it happened right now but if since the origin of the solar system, earth was orbiting the sun from mars's distance would it still be habitable?
11 answers 11