Opposite gender friends preference

Assalam alaykum Ramatuallah my brothers and sisters and I was wondering is it cool if I prefer my spouse not to have opposite gender friends? Everytime I mention this to someone I’m almost always shamed for it saying I’m insecure and stuff like that but honestly I don’t care and imma stand by it. I want others opinions on this matter as well. If anyone needs elaboration I’ll reply to comments.