Which leg asleep?
The sciatic nerve runs in muscle from the lateral buttocks down the back of the leg, eventually getting more shallow.
It supplies most of the nerve sensation of lower leg. If it gets compressed long enough, it will go numb. See when sitting on toilet too long. Same can happen with artery behind knee, as is easily compressed here. Cure for both is same...Change position and shake it out.