We used to have that rule, however we do not have it anymore for quite some time now. Minimum is one pilot at his station, the other has to keep his absence as short as possible. Of course during take off and landing two pilots in the flight deck is the minimum, only during cruise is any absence allowed and only for very specific reasons.