This is a complex issue. It is not just a matter of someone staying overnight. But you refer to a partner, which generally implies some sort of semi-permanent arrangement. If you are claiming as a single parent and have a partner then you must end the claim & make a new one as a couple.