"Tim lives in the forest."
Translation:Тим живёт в лесу.
I had the same question, and found out that it is an irregular form.
Some (about 150) masculine words can have a -y suffix besides the -e suffix for the prepositional case. This website has some examples: http://www.russianforfree.com/grammar-of-russian-nouns-prepositional.php