Friends with your ex ?

Is anyone friends with their ex ? Is it weird to still talk to them in no relationship way but in a friend way? Me and my ex broke up years ago like 5 years ago but we always stayed friends like no flirting no feelings just friends sometimes when I feel down or something is going on and I need to talk I go to him is that bad ? I don't have many girl friends and I honestly don't want to either I feel that some girls I just can't trust or idk I've always been able to trust him with everything.