It is going to cry to be let back into its pack's home, where the rest of its pack is. Even if the pack has all gone to work and to school, the dog wants to be in the home, waiting for the return of its loved-ones. It will cry so much that it may get its mouth taped or wired shut. It may be smacked and crated. Or it may be poisoned by the neighbours.
Where is the dog when it has a big yard? It is jammed against the back door hoping someone will let it in, in to the warmth, comfort, company, and safety of the home.
When it gives up trying to get into the family home, it will try to escape. It will tear planks off fences, and dig tunnels under fences. It will do anything to escape its confinement and boredom.
When it escapes, it may act anti-social, anger the neighbours, get hit by a car, or be picked up by the dog-catcher.
If it escapes too often it will be chained or put in a "nice" pen with a "nice" dog house.
Dogs don't like doghouses. They like the houses that the rest of their pack lives in. They feel "punished" by being excluded, just as we do. They know that none of their pack lives in the yard, or in a pen, or in a dog house. Or for that matter, in the laundryroom, the basement, the garage or the deck.
Dogs are the world's most sociable creatures, are more sociable than humans who sometimes relish being alone. A dog, unless ill, does not want to be alone a minute much less a lifetime.