Yes, there are types of roofs that last a long time. Standing seam metal, slate, clay, concrete, and copper roofs all last a long time (50+ years). Asphalt shingles and EPDM flat roofs last 15-25, cedar shakes can last 30+ years.
The long lasting ones are substantially more expensive than asphalt shingles, 3x at a minimum.