Notice that he said "we" will never divide Jerusalem. He did not say that Jerusalem will never be divided. The way it looks now, I'm guessing that the parties will either share Jerusalem or it will be divided, or some combination thereof.
Northern California wildfire doubles in size, displaces thousands (Reuters)
from the article: Netanyahu: We will never divide Jerusalem