You quit your job with your employer not your lawyer. After you resigned, your employer will report to USCIS about your resignation. If you don't have other valid status in US, you are out of status.