This article is from the FAQ, by with numerous contributions by others.
Absolutely not. An individual who entered, worked or remained in the
U.S. illegally must meet three prerequisites if he or she wishes to
remain in the U.S. while applying for permanent residence.
1. A relative or employer mush have filed a petition in behalf of
of the foreign national making him or her eligible for an
2. The immigrant visa must be immediately available to the
individual at the time the application for permanent residence is
3. In addition to the prescribed fee of $130, the individual
must agree to pay a monetarty penalty of $650 for previously
having entered and remained in the U.S. illegally (exception
children under 17 and certain family unity aliens).