1-2 hours drive is better than any commute. 3-4 hours drive might be better than many commutes, especially if you live exactly where you want to live and can do four-day trips.
I wouldn't do more than 3-4 hours, you'll be too tired unless you can get trips that start with one leg or a deadhead.
If you're less than an hour from the airport, that opens up all kinds of QOL options such as locals, B2B trips, picking up premium pay, and even sitting reserve intentionally.