
If a woman has had intercourse with her husband after the nikah, or if a valid seclusion (khalwat sahihah) has taken place between them, then iddah is obligatory upon her according to Shariah after a divorce or khula.
In the situation you describe, if intercourse or a valid seclusion took place between the spouses even once after the nikah, then iddah is obligatory upon the wife after the khula, even if they have had no physical relations for the past two years.
۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔
۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔دلائل:References:القرآن الکریم: (البقرة، الآیۃ: 228)وَالْمُطَلَّقَاتُ يَتَرَبَّصْنَ بِأَنفُسِهِنَّ ثَلاثَةَ قُرُوءٍ وَلا يَحِلُّ لَهُنَّ أَنْ يَكْتُمْنَ مَا خَلَقَ اللَّهُ فِي أَرْحَامِهِنَّ إِنْ كُنَّ يُؤْمِنَّ بِاللَّهِ وَالْيَوْمِ الآخِرِ وَبُعُولَتُهُنَّ أَحَقُّ بِرَدِّهِنَّ فِي ذَلِكَ إِنْ أَرَادُوا إِصْلاحًا وَلَهُنَّ مِثْلُ الَّذِي عَلَيْهِنَّ بِالْمَعْرُوفِ وَلِلرِّجَالِ عَلَيْهِنَّ دَرَجَةٌ وَاللَّهُ عَزِيزٌ حَكِيمٌo
الدر المختار: (181/5، ط: زکریا)وہي فی حرّة تحیض لطلاق أو فسخ بعد الدخول حقیقة أو حکماً ثلاث حیض کوامل۔
و فیه ایضاً: (باب المہر، 114/4- 118)والخلوۃ بلامانع حسي وطبعي وشرعي…… ولوکان الزوج مجبوبا أوعنینا أوخصیا في ثبوت النسب وفي تأکد المہر والنفقۃ والسکنی والعدۃ
.Allah the Almighty knows best
.Darul ifta Al-Ikhlas, Karachi