visa is only good for 90 days. A residency permit is a different kettle of fish and entitles you to stay here up untill your residency permit finishes. Even if you die, residency entitles you to get buried here whereas a normal tourist visa means that even if you die in Turkey, you still have to leave Turkey as you wont be able to get buried here.