If you get divorced before receiving a green card, it could potentially affect your immigration status. US immigration laws are complex and many factors can influence your case. However, generally, a divorce before the final adjudication of the green card could lead to the denial of the application. It is advised to consult with an experienced immigration attorney for your specific circumstances.