Lay one can of dough on the bottom of a greased 9 x 13-inch baking dish, pinching the seams together.
Danish Filling: Beat the cream cheese, sugar, vanilla, lemon juice, and one egg until smooth. Spread over the dough.
Lay the second can of crescent rolls over the top of cream cheese mixture. Mix the second egg with 1 tablespoon of water and brush over the dough with a pastry brush.
Bake in a preheated oven set at 350 degrees for 35-45 minutes until golden brown. Remove and allow the danish to cool.
Glaze: In a small bowl, beat the powdered sugar, milk, and vanilla until smooth and spread the glaze over the cooled pastry. Use a sharp knife to cut into individual servings.