Hi, I experienced the same thing a few months ago

Our dog still cries whenever we leave the house or when he's left outside of our room. That is why I let him in our room but I never let him sleep in the bed because he will get used to it, as mush as I love my dog I don't want dog hair on my sheets.
It is best if you spend time with your dog and if it's possible let him or her inside your room:)