According to Vietnamese law, when relatives or friends stay overnight, the homeowner is responsible for declaring the stay to the commune, ward, or township police. This regulation is clearly stated in the Law on Residence and its guiding documents, aiming to strictly manage residency status and ensure local security and order.