Do the people living in Makkah have to do tawaf al-wadaa’ (the farewell tawaf) if they leave Makkah after Hajj?
Question

A servant woman worked in Makkah for five years, and now she wants to do Hajj, then after Hajj she wants to leave and go back to her country for good. Does she have to do the farewell tawaf?.
Praise be to Allah.The people who live in Makkah do not have to do the farewell tawaf, because this tawaf is required in order to bid farewell to the House, which does not apply in the case of those who live in Makkah, because it is their home. Shaykh al-Islam Ibn Taymiyah said, explaining that the farewell tawaf is not one of the essential parts of Hajj which must be done: 
… Therefore the people who live in Makkah do not have to do tawaf al-qudoom (tawaf of arrival) or tawaf al-wadaa’ (farewell tawaf), because that does not make sense in their case; they are not coming from elsewhere and they are not bidding farewell so long as they live there.
Majmoo’ al-Fatawa, 26/261 
Shaykh Ibn Baz (may Allah have mercy on him) said: The people of Makkah do not have to do the farewell tawaf. Al-Fatawa, 17/393. 
This includes everyone who is inside the boundaries of the sanctuary (al-haram). Ibn Qudaamah said: Everyone whose home is within in the Haram is like a Makkan and does not have to do the farewell tawaf. Al-Mughni, 3/237.
 But if a person who lives in Makkah wants to travel after doing the rituals of Hajj or ‘Umrah, then he has to do the farewell tawaf before leaving Makkah. 
Al-Nawawi (may Allah have mercy on him) said: Our companions said: whoever has finished his rituals and wants to stay in Makkah, does not have to do the farewell tawaf. There is no scholarly difference of opinion on this point, whether he is one of its inhabitants or a stranger. If he wants to leave Makkah and go back to his country or somewhere else, then he has to do the farewell tawaf. Al-Majmoo’, 8/254. 
Shaykh Ibn ‘Uthaymeen (may Allah have mercy on him) said: If a man is one of the inhabitants of Makkah, and he does Hajj then travels after Hajj, then he should do the farewell tawaf, because the Prophet (peace and blessings of Allah be upon him) said: “None of you should leave until the last thing he does is to circumambulate the House.” Muslim, 1327. This is general in application. So we say to this person who lives in Makkah: So long as you are travelling during the days of Hajj, and you have done Hajj, then do not leave until you have done tawaf. Al-Fatawa, 23/339. 
Based on this, then the lady who asked this question has to do the farewell tawaf when she wants to travel, after she has done the rituals of Hajj. And Allah knows best.