I don't know which is the house in which they used to live.
第一个which是名词性从句的which,第二个是定语从句的where=in which转换过来的.