When you specify an element of time, they are nearly the same in meaning. But if you take out "for five years" it's easier to see how they are different. I have been living in Prague.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.