Senses
伴宿 to keep company overnight
To stay with someone overnight to keep them company; to share a room with someone.
伴宿 to keep watch at a wake
Specifically refers to attending an overnight wake at a funeral home or the home of the deceased before the burial.