1.He lived there for 10 years;
2.He has lived there for 10 years;
3.He has been living there for 10 years.
If 1. means the person may very well not be living there anymore now and 3. means he is still living there at the moment,
What does 2. mean having to do with the present situation? What is the difference of it between the other two sentences(esp. 3.)?