A grammar rule (Present perfect)
Solution 1:
Context is king. I have lived in Paris for two weeks could mean that the speaker is no longer living there, but will not normally do so. I have lived in Paris, without further elaboration, will almost certainly mean that the speaker is now living elsewhere.