I work from home now, but before that I had what was, in theory, a 40 minute drive. Reality was it was closer to 1 hour in the morning and around 1 hour 15 in the evening, but could easily be 2 + hours if there was an accident or bad weather, which there frequently was. It was about 30 miles away but on the other side of a city.
Don't think I could go back to that now. Probably would do up to an hour, worst case scenario. DH changed jobs a few years ago having had a similar commute to me (opposite direction) and now his commute is 30-ish minutes and very rarely more than 35. So I guess it depends on whether a commute is likely to see heavy traffic, sees a lot of accidents etc.