Allowing a strata to sit overnight gives the bread time to soak up the egg mixture to create a puffy casserole once baked. If you decide to bake immediately, I can confirm that this vegetable strata recipe will turn out just as tasty.