if f1 reinstatement request is denied but h1 is picked up in lottery how many days i can be in the country.

if f1 reinstatement request is denied but h1 is picked up in lottery and premium processing receipt too accepted how many days i can be in the country. is there any set number of days like 30 days? as per the denial letter of F1 reinstatement, i have to leave the country asap but i was advised to wait for h1 approval letter then leave. i have only I-797C notice of action (not approval letter just the fee acceptance notice) what should i do best in this case? i dont feel like violating the law. someone pls help.

F-1 denial has a 30-day grace to leave country. A notice of action on a visa is a ‘pending’ process and you are legally in the US until that process is completed. You must take lawyer help to get I-94 extended.