It is supposed to be Wyoming, but is actually filmed in New Mexico and Las Vegas, IIRC. I believe the in-town main street location is Vegas.
Las Vegas, NM
It’s east of Santa Fe.