You should never separate yourself from your parents, but you should be away from their sinful acts, keeping your relationship with them as good as you can. Even if your parent were non believers, you must keep treating them nicely as parents but never share with them or support their wrong faith or sinful acts.
Wassalam.