E2 essential employee resignation how many days for leaving to the country?

Hi everybody I'm a e2 essential employee Friday 15 June I delivered my resignation to my employee with 2 weeks notice , my company confirmed the 16 June the don't need me for the future weeks .
A log can stay in the country ?! I find 10 days or 60 but I'm no sure in both case!
Please anybody can help me ?

Thanks in advance