Both sentences are both correct and identical in meaning. Certain verbs such as "work" and "live" are commonly used in the present perfect simple and present perfect progressive tenses with identical meaning. Here's another example: I've lived in Japan for two years.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.