"London" is the object of the preposition "in", but not the object of the verb. The verb "live" can be transitive in a few cases, such as "He lives a full life", but here it is intransitive, and "in London" is adverbial, telling where he lives.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.