A source close to the couple told PEOPLE the pair tried to make things work after "growing apart" over the past year

Channing Tatum and Jenna Dewan didn’t decide to end their marriage overnight.

Before announcing their decision to separate on Monday, the former couple spent months working to save their marriage, according to sources.

“The separation was a long time coming,” a source tells PEOPLE. “They both took a long time to work on their marriage and to figure out what they wanted. It’s not anything rushed.”

Despite ultimately deciding to call it quits, Tatum and Dewan remain amicable.

“The fact that they get along is everything,” adds the source.

Moving forward, the pair will focus on co-parenting their four-year-old daughter Everly.

10 Years movie brunch reunion at the Hotel Chantelle, NYC

“They will continue to be the best parents to Everly,” says the source. “Like other couples, they have had arguments and disagreements, but they were always very conscious about giving their daughter lots love and a great life.”

The actors, both 37, announced the split in a joint statement exclusive to PEOPLE, saying, “We have lovingly chosen to separate as a couple.” They added, “There are no secrets nor salacious events at the root of our decision — just two best-friends realizing it’s time to take some space and help each other live the most joyous, fulfilled lives as possible.”

The Magic Mike star has moved out of the L.A. family home.

A source close to the couple previously PEOPLE the pair tried to make things work after “growing apart” over the past year.

“They really wanted to make their marriage work,” said the insider. “But neither of them are people who will stay in something that isn’t fully right.”