Yes, you can prepare the casserole ahead of time, cover it and store it in the refrigerator overnight. When ready to bake, remove it from the refrigerator and place it on the counter while preheating the oven.