01 - Preheat oven to 400°F. Line a 10x15-inch rimmed baking sheet with parchment paper or grease lightly.
02 - Whisk flour, sugar, and salt in a large bowl. Cut in cold butter using a pastry blender or fingers until coarse crumbs form. Sprinkle ice water over mixture and stir just until dough holds together. Divide into two portions, making one slightly larger.
03 - Roll the larger dough portion on a floured surface to fit the bottom and sides of the prepared pan. Transfer carefully and press evenly into place.
04 - Combine sliced apples, granulated sugar, brown sugar, cinnamon, nutmeg, salt, cornstarch, and lemon juice in a large bowl. Toss until apples are evenly coated.
05 - Spread apple mixture evenly over the bottom crust. Roll out remaining dough and place over filling. Trim excess dough, pinch edges to seal, and cut several small slits in the top crust for steam venting.
06 - Whisk egg with milk in a small bowl. Brush mixture evenly over the top crust. Sprinkle with coarse sugar if desired.
07 - Bake for 35 to 40 minutes until crust turns deep golden brown and filling bubbles actively through the vent slits.
08 - Let the slab pie cool for at least 30 minutes before cutting into squares. Serve warm or at room temperature.