They're pretty close in meaning. If there is a difference, I'd say "how long have you lived here" suggests "so far" or "up till now", and "how long have you been living here" suggests the action will continue into the future.
I think only if the listener were about to move house would the difference be noticeable.