Separation anxiety?

I don’t really know what this is completely but I feel like I have it? I live with my boyfriend and whenever I’m away from him I feel like I can’t function fully. I can’t even enjoy time with my friends anymore because I just want to be around him. Like as soon as I leave I wanna be right back with him. My parents did abandon me when I was really young so could this be why? We’ve been dating for two years and I literally get so sad when I’m away from him, especially when he’s at work. I just get distracted and only think about how long it’s gonna be until I get to see him again. Anything to help this?