How far from the beach could you live?

i think maybe 6 hrs for me but I'd prefer to be within 3 hrs. I have some mental block about being too far away even though we only might visit a few times a year.