No, of course not. You are not required to stay in the housing for the duration of your contract. Just discuss this and notify your company in a timely manner if you wish to leave the housing.