A
如果是B的话,那就应该是which room he lived in
live在这里是不及物动词,后面要加介词.
live on 住在...之上(楼);以..为生
live in 住在...里(房间)