Is it acceptable to ask or present a recommendation letter from a professor who left the university? I finished my undergraduate studies around 2 and a half years ago. I didn't directly apply to any university to continue my master's degree.  

Recently, I decided to continue. I live in Lebanon and I was searching for some universities in the UK to apply for. I found some local agents that help students with their inquiries. They asked me to provide them with 2 academic recommendation letters or either 1 academic and 1 professional.

If anyone saw my answer around here would know that I am still in contact with one of my professors back in the university. That professor now left this university and even left the country with his family, yet we're still in touch.

My question is the next:

Is it academically appropriate to ask him for a recommendation letter? In case he did write me one, would it be legit to present it since he left the university?
Yes he can give you a reference.

But he can’t say he is still at X university , it has to be clear he has moved on just in case they try to contact him.

People move all the time...

Some universities still receive reference requests for professors who are no longer available (death, no contact etc) and organize another professor or the Dean to write a reference to help the student.