And remained the official capital even after the break away, because the law-making-defining body was really the priesthood, centered in the temple there. Judah = rule, Benjamin, Moses= Law.
The population of all of Jacob=Israel were supposed to pilgrim to Jerusalem for the festivals.
Knowing what we know about the certainty of bible promises. I would not want to be there.