Он давно жил там = He lived there a long time ago.
Он долго жил там = He lived there for a long time.