01 - Preheat your oven to 400°F. Line a 10x15-inch rimmed baking sheet with parchment paper or lightly grease the surface to prevent sticking.
02 - Whisk together flour, sugar, and salt in a large bowl. Cut in cold butter using a pastry blender or two knives until coarse crumbs form. Sprinkle ice water over the mixture and stir gently just until the dough comes together. Divide dough into two portions, with one piece slightly larger than the other.
03 - On a floured work surface, roll out the larger dough portion to fit the bottom and sides of your prepared pan. Carefully transfer the dough to the pan, pressing it evenly into the corners and up the sides.
04 - Combine sliced apples, granulated sugar, brown sugar, cinnamon, nutmeg, salt, cornstarch, and lemon juice in a large bowl. Toss until the apples are evenly coated with the spice mixture.
05 - Spread the apple mixture evenly over the bottom crust. Roll out the remaining dough portion and place it over the filling. Trim excess dough from edges, pinch the top and bottom crusts together to seal, and cut 4-5 small slits in the top crust to allow steam to escape during baking.
06 - Whisk together the beaten egg and milk in a small bowl. Brush the mixture evenly over the top crust using a pastry brush. Sprinkle with coarse sugar if a sparkling finish is desired.
07 - Bake for 35 to 40 minutes, or until the crust is deep golden brown and the apple filling is bubbling visibly through the steam vents.
08 - Let the slab pie rest for at least 30 minutes before cutting. This allows the filling to set properly. Slice into squares and serve warm or at room temperature.