It's grammatically sound. I'm not sure if I can think of a context in which that would be said, however. Humans, generally, do not NEED to rest with other humans.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.