In my view, XYZ Ltd. is eligible for such ITC as restrictions u/s 17 (5) (g) is for 'personal consumption by the tax-paper' and not for 'personnel consumption by employee of the tax-paper'.
However, possibility of disputes / litigation and resultant risks thereto cannot be ignored completely.
Hence & unless there is no other compelling reasons (such as differential income tax treatment in hand of employees, if any), in my view, it is always better that employee takes premises on rent in his name.
And employer Co. reimbursements such rent to the employee, merely as part of perquisites in terms of contractual agreement entered into between the employer and the employee are in lieu of the services provided by employee to the employer in relation to his employment.
This will ensure that Co. is not liable to pay GST under RCM and thereby, entire dispute relating to ITC can be avoided.
These are strictly personal views of mine and the same should not be construed as professional advice / suggestion.