I think it really depends on the dog and sometimes the breed. Alot of hounds will not stay in the yard without a fence.

Molli will immediatly run away when she isn't in the fenced-in backyard. But Sam wil usually stay by me.