I don't have a dog of my own but, but I did adopted 3 kittens. Before I moved and lived in the UK. I had taken care of them for more than 2 years. After I moved to the UK my dad has been taking care of my cats. My house has a medium private yard.
But your pet can also just stay inside the kitchen room if it wants. Its allowed in my room depending what pet it is.