Oh Thelma, what a predicament your friend is in!!! That really is a tough position to be in, and I don't know how helpful I can be. I just wanted to chime in and to let you know that I'm thinking about your friend and hope everything works out.
Does she know why the kitties sometimes pee outside of their box? Do the two females get along ok? This situation hits a little close to home as I have a cat with a behavioral problem and he eliminates outside of the box. We have tried everything the vet has suggested, and right now our only option is to have him in his kitty playpen whenever no one is around to watch him. It's plenty big enough to fit his covered litterbox, his food mat with the water and food dishes, and there are 2 "shelves" that he can lay on. However, I do feel bad about having him locked up in his playpen all day, but he does seem to consider it a safe haven. Even when we do let him out, he'll often times go there if he feels stressed by company and such. I asked the vet about this because I was concerned about him being cooped up, and he said it was a perfectly fine solution as cats tend to sleep most of the day while we're gone anyway. I found his playpen at drs. foster and smith website. You could suggest your friend to visit that website and see if there is a playpen that would fit 2 cats, or she could get one per cat..but those pens are pretty large!

I don't want to sound mean, but another option would be to get rid of the boyfriend! Now, I don't want to pass judgement on him, for he could be a perfectly nice guy, and I don't know his situation, but in my opinion, if I were in that position and my boyfriend hated cats (right there...he would be gone...HA!), and suggested getting rid of them...that just goes to show something negative about him and he would be out the door. How is their relationship? How does he treat her? A lot of people really care about their animals and think of them as children, and simply asking them to get rid of them or suggesting putting them down because of his precious carpets, shows that he just thinks of them as possessions simply to be discarded. For me, this would be a serious red flag in a relationship, and I would be hesitant to move in with him. I can't even imagine suggesting someone to get rid of their animals! Even if they have a problem, they're just like kids in that they rely on you to take care of them and protect them. I can honestly say that Scooter's behavioral problem is so bad that almost any other person probably would have had him put down by now, but Aaron just loves that thing so much, that we just deal with it.
You really can tell a lot about a person by they way they treat animals I hope I didn't offend you, but I worry about people in positions like hers. Probably because a really good friend of mine's aunt had the same thing happen to her. Boyfriend didn't like cat. Boyfriend threatened to dump cat out on the side of the road. Being apalled at this, I took the cat in. Boyfriend moved in with girlfriend. Boyfriend beat girlfriend...it was really bad. I just worry, that's all...{{{hugs}}}