updated 01/17/2013 AT 10:00 AM ET
•originally published 01/17/2013 AT 8:00 AM ET
Jennifer Lopez knows how Leslie Rodgers feels.
The actress-singer, 43, who plays the character in the crime thriller Parker, tells PEOPLE that when she and Marc Anthony began divorce proceedings, she “felt like my whole world had fallen apart.”
Lopez, who was just going through the breakup at the time she began filming the movie, says she related to her character.
“Leslie had just gone through her own divorce,” she explains. “It’s a bad time in her life.”