Hi FlemingWay
Your friend cannot claim housing benefit unless they live in specified accommodation, they would have to claim housing element with their Universal Credit claim.
Usually the claim is based on an email address and a mobile number, when they have an appointment with their workcoach they will need to mention that you use their address as you are homeless.
Gary
Nothing on this board constitutes legal advice - always consult a professional about specific problems