 Producer James L. Brooks (qv) said what inspired this movie was an  incident where Brooks saw a man walking with his daughter. He saw  them and wondered what would happen if the father committed a crime.  Those thoughts were used to create the story.