Friends with ex on social media?

I’m not saying if it’s ok or not ok. I want your opinions? Is it’s ok if your S/O is “friends” with their ex on social media? Why or why not? I don’t have a S/O but just curious.