It really depends on how long before the rock’s impact with Earth you manage to catch it, how massive the rock is, and how fast it’s going. If you find a long-period comet (things coming from farther out in the solar system are generally going to be going faster when they get to Earth) that’s on a course to collide with Earth in two years, there’s nothing we could do about it. If you find a near-Earth asteroid that has a chance of hitting us in 100 years, that’s quite another story. Things like the composition of the rock might complicate things as well (nuking an asteroid that is a rubble pile probably wouldn’t do much good, for example).
Bricker, you are seriously underestimating the damage an impact with a rock this size would do. 80 miles is about 129 km. That’s much, much bigger than the asteroid that killed off the dinosaurs. I suspect there would be planet-wide fire storms, years of pitch darkness (from debris and ash in the atmosphere), that sort of thing. Most animals that survived the dinosaur killer were small burrowing animals or animals that could live under water for a while. This is a lot bigger than that. AFAIK, we have no plans for long-term human survival under circumstances like this, and we might not get much time to make such plans, depending on how long before impact we discovered this thing. If there are astronauts in space when it hits, I would guess we didn’t discover it until less than a year and a half before it hit (the longest stay in space until now has been 437 days, by Valeri Polyakov). I don’t think we’d be sending anyone into space if we knew something like this was coming, unless we had a moon base or somewhere else safe that they could go.
I also don’t think it’s at all likely we would have an astronaut in orbit with several years’ supply of food, water, and air, unless they were going on a manned Mars mission or something like that. Food, water, and even air has weight, and sending weight into orbit is not cheap. They don’t send a lot of extra consumables on a space mission, because that would hugely increase the cost. Things like space stations get periodically resupplied from Earth, instead.
Stars are so far apart, we don’t think asteroids regularly come into the solar system from outside. An asteroid that wasn’t in orbit around the Sun hitting the Earth is so incredibly unlikely, we can pretty much discount the possibility.
If there somehow were an asteroid from another solar system on a collision course with Earth, we probably wouldn’t know about it very far in advance. Most asteroids in our solar system are dark-colored, and it’s probably pretty safe to assume that asteroids from other solar systems would be, too. That means they don’t reflect a lot of sunlight, and would be hard to spot. They don’t have tails like comets do. It would be going screaming fast, with whatever velocity it had left after escaping its parent star, plus the velocity it would gain from falling all the way from the outskirts of the solar system to where Earth is. It would be going faster than Comet Hale-Bopp was when it passed by Earth (since Comet Hale-Bopp is gravitationally bound to the Sun), which was moving at about 52.5 km/sec when it passed by Earth.