Housekeeping is not an HR function.
In some companies, HR and Admin is handled by the same department and therefore a person from the same team is assigned to look after the housekeeping function.
A job on housekeeping will not help you find employment in HR in future.
However, HK is getting to be an important function in its own right and you may be able to get jobs specific to your experience in future if you are in a place that has large factories that are being run in a good manner.