Whatever the length of the ride, the ride will be good for your health. I'm not convinced that riding 30 miles regularly is better for your physical condition and overall health than riding 20 regularly. You will be in better cycling condition, I imagine, but riding the longer distances really only gets you in shape for riding longer distances. But, whatever feels good is the right distance unless you are purposely training for some athletic event.