Chances of being punished for it are slim if you are in private accommodation, but it is illegal if you are not married or related.