It's one thing if a guy wants "me" time, as in a night out with the guys without their girlfriend/wife around. My husband has his guys nights out and I go out with my girlfriends. That's healthy. What isn't healthy is him picking fights with you and pushing you away for days at a time. If he's lost interest in you then that's his loss. There's tons more guys out there worthy of your time and will treat you the way you deserve to be treated.
This is not a relationship. Save your energy for someone who wants one.
Your boyfriend lacks maturity and is not being straighforward with you on what is really going on. If he is picking an argument just to get you to leave the house really means that he is up to something, so he is either no longer interested in a relationship with you,want to be "solo" or classic signs of cheating. By telling you he needs time is really telling you "I need my space" without you (sorry).
He is going to affect your confidence, dignity and self respect, so take back the power he thinks he has over you and ask him if he want to be in the relationship or not...this is not easy and easier said than done, but for peace of mind, be the mature one in the relationship and communicate with him. Lot's of great guys out there just waiting to meet you.....Good Luck, Judy