Newly single. But stuck living with ex. Any advice?

Me and my (newly ex) boyfriend were together for a year and lived together the whole time. He ended things because he said "he didn't want to he in a relationship anymore" also that he still loves me and wants to remain friends. But he is acting like the breakup is ny fault. Due to financial reasons I still have to live I'm the same house with him only I've moved to the upstairs. How do I deal with this? Any good advice?