To keep your casserole from getting soggy, be sure to use stale bread, as it will absorb more of the custard mixture. Also, don't bake it immediately after assembly. Let it sit overnight. Make sure to cook the casserole until set, about 45-55 minutes.