No, it won't. When the sun becomes a red giant, one of two things will happen - the sun will engulf the planet in it's flaming nuclear maw, or the Earth will suddenly have an orbit much closer to the sun, turning the surface into a baked nuclear hellhole (like Mercury, but...redder).
And...