Movie about a guy losing his keys and lives outside?

I remember a movie i watched on vhs in the 90s about a guy who was at a job away from his family and at the end of the work day he list his keys and couldnt get home so a coworker let him stay with him and he lived in the woods outside.

I remember cigarettes and beer drinking (i think), and a swimming scene with two women.

At the end of the movie its revealed that his coworker stole his keys because he was lonely(or something) and the main guy went home to his family only to return and become friends with the co worker and be understanding.

I cant remember much more i thought it was burt reynolds in the film as the co worker but its been so long its fuzzy.

If anyone has any idea what this movie is i would love to see it again!

Thanks!!!