If you own a house worth at least 75,000-USD in big cities and 50,000-USD in small cities, it is possible to obtain a residence permit on real estate and stay in Turkey as long as you want legally. However, apart from these, you can stay in Turkey only for the duration of your visa or visa exemption.