When completing the G-325A Form (which is part of the green card application and which requires that you list your employment for the past 5 years), you should complete it truthfully. If you are marrying a US citizen, the fact that you worked illegally will have no effect whatsoever on your application.
Attorney Edward Weiner
Boston, MA
http://www.immigration-aux-usa.com/