What happened if you were petition I-130by your wife and it was?
Your I-130 was approved on the basis of your marriage to your spouse. So yes, if you get divorced, you are no longer deemed eligible to immigrate to the United States using that particular petition.