I can't imagine not shutting some of the Lab puppies we have had in a crate any time nobody can watch them. We now have the fourth of a run of real sweethearts, but she still sleeps in her crate. After she is trained, the service dog school she belongs to, will send her to her working home with a crate.
For dogs that aren't destructive, I see letting them sleep with you as a matter of personal taste. The exception to that is if you are having leadership problems. In that case, the dog in the bed must go. See
Establishing and Keeping Alpha Position
We have continued to leave Aster on a tie down at night as she was before she retired as a dog guide. Even well behaved dogs benefit from the enforced inactivity of a crate or tie down slowing the body, and allowing them to go longer without relieving themselves.
A few years ago, when there was a bunch of publicity about training horses to guide the blind, our one visually impaired friend said ''I can't imagine cuddling up with one.'' The president of the dog guide school said ''Please don't send me anymore clipping about them. I already have plenty.''
Old saying, ''Those the sleep with dogs, rise up with fleas.'' Of course that was before we had all the effective, modern products.