You can live in certain hotels for months on end. Some hotels with extended stay may enable your long term hotel stay, however, this is subject to local rules and tourist laws.