Often rent payment is considered compensation and thus income and therefore I would give you an equivical maybe. If the apartment is rented to you and the Foreign entity pays the rent you appear to be having income. If the company rents the apartment and it just sends you the funds to pay their rent it may not be taxable as income.
You would have to look at the tax treaty with your country to determine how much your exemption is
Every thing that I am saying here is my opinion and it is not based on any particular case. My response is just unsupported general information. If it helps you to resolve an issue that's great but do not rely on it as legal advice because it is not based on the facts in your case and it is not based on any specific legal research. Answering this question creates no relationship between the writer and reader of the writing. I am not your attorney now, nor have I been on the past.