Maybe I misunderstood but the way I saw it was that the island is the gateway between hell and earth. As long as the island is there hell cant cross over. Jacob is like the gatekeeper. He decides who leaves and who stays. I wonder if how he got that job.
Out of all the castaways, Locke seemed like the best candidate to take over Jacob. He was the one that truly loved being in the island.