Skin products most certainly rub off onto your pillowcase and you can reasonably assume they make contact with your scalp. The best thing you can do is be sure to wash your pillowcases regularly as this will help keep them free of residual buildup and bacteria.