Talk about the friendliest exes ever!

Ben Affleck and Jen Garner took their three children to church on Sunday, and we caught the actor placing his hand affectionately on his former wife's shoulder as they made their way out of services. They've been through a LOT in recent years, but they've still managed to stay friends, and it's heartwarming.

They recently finalized their divorce - without a judge! - and agreed to joint legal and physical custody of the kids. The Oscar winner has been working hard on his sobriety to make sure he is the best father possible, and the Camping actress has been holding his hand every step of the way.

"Ben will always want the best for Jen. They continue to have a really strong relationship and both work very hard to make everything easy for the kids. She has always been supportive of him," a source recently dished to People.

We wish on an almost daily basis that he'd never cheated with Lindsay Shookus and they were still happily married!