does taking the pill at the same time every day make it more effective?

does taking the pill at the exact same time every day really make a big difference in how effective it is in preventing pregnancy? also if so does anyone know why that is?