To be eligible, you must meet several criteria, including:
Being legally married to a U.S. citizen or lawful permanent resident.
Proving the validity of the marriage.
Demonstrating that the marriage is not for the sole purpose of obtaining immigration benefits.
Meeting other requirements depending on your specific situation.