Accuracy and honesty on a marriage-based green card application are extremely important. Successful applicants therefore list all of their employment history, including any period of unauthorized work.
Leaving out this information can have potentially bigger consequences (such as denial of the application) than previously working without authorization.
We've prepared a detailed guide to completing the "employment history" section of the marriage-based green card application.