and was told that it is not specifically stated that, the house you are buying must be your primary residence.
What I understand right now is that regardlss of primary or not, as long as you use the dwelling for your job, the closing cost could be reimbursed to a certain percentage.
If you are not certain, you could ask your agent to provide you a copy of your company's relocation reimbursement policy.