As per the Latest Railway Board Letter No. E(P&A)II-2017/HRA-4, Dated 05.12.2017 - Click Here
All the Indian Railway Employees who under goes STUDY LEAVE can apply for HOUSE RENT ALLOWANCE for 180 days from the day of leave.
You Can also refer to SCR - 211/2017
Even after 180 days, he/she can apply to extend for HRA up to 240 days subject to the production of certificates prescribed in
Para 1707(iii) of IREC - II