They become Gods, or Jina, and as such will never suffer rebirth again. The souls of Jinas retain their individual identities. Twenty-four Jinas are worshipped as inspirational bridges for others to achieve liberation, the latest being the founder of the religion. Any living being may become a God once enlightened. As more people become enlightened, the number of Gods becomes innumerable.
Gods are humans who attain enlightment and are liberated from rebirth.
One may be reborn into hell or heaven or as a lower life form, depending on one s karma. Once fully liberated, you become a God with omniscience and omnipotence. People have free will to commit wrongs. Evil results as cravings, attachments and ignorance accumulate through perpetual rebirths, resulting in greed, hatred, violence. One must follow the Three Jewels of right faith, right knowledge, and right conduct.