How many miles is it from Tucson Arizona to Jackson Hole Wyoming?

It is 1,039 miles according to Google Maps.