It depends. If the green card was obtained through marriage, and the marriage was less than two years old at the time of the green card issuance, the immigrant will receive conditional permanent resident status. They must file to remove the conditions (Form I-751) and prove that the marriage was genuine. If the divorce happens before conditions are removed, the immigrant can still apply to remove conditions based on hardship or other grounds.