Hi. There is no grace period. You can change your status just before he quits. Then, you will have a pending "change of status". If you leave before it is processed, it will be OK and you will have always maintained lawful status.