It depends on what everybody is comfortable with. There is nothing wrong with it but jealously changes the rules between former couples. If your friend and her husband are comfortable with you, then plan on going out together. If they are not, you are best not creating friction in the relationship. It has nothing to do with trans as this is a common problem in CIS couples.