They will because the male won't have any sperm to get the female pregnant. Of course, there would be some mounting, but that's no big deal because the female won't get pregnant. You will probably not like the mounting though, but that's pretty much the only way it will be able to live together. Otherwise, you have to buy another cage, or if you already have one, you would just have to separate them. If you separate them, they would still be able to play together with you watching though. I hope my advice helped! =)