A friend once told me that" friends were friends and lovers were lovers". They are two different groups. It is never good to mix them, especially after a break-up. Staying in contact keeps the relationship alive. You may need to choose if it is really over or if it is going through a change. If it is over, then you need to remove the friendship with the exes.