1: Rotom was a child with many talents who was murdered BRUTALLY in the room with the tv. (By child I mean like, 11) His power is weaker compared to some of the true 'Ghosts,' which is why he's now a pokemon.
2: however long the people who are in it decide to stay.