Question: is jerusalem in israel or judah?
Answer: As long as this temple stood, Jerusalem was the capital of the kingdom of Judah (briefly also of the united kingdom of Israel, i.e., of Northern and Southern tribes united by David). This period ends with the destruction of Jerusalem in 586 by the Neo-Babylonians under Nebuchadnezzar.