Not following the law puts you out of relationship and communion with God. Unfortunately, this is not the way it works. We are dealing with the symptoms not the cause. If it were true, then Jesus died in vain. If all we had to do was follow the law and stop sinning, he did not need to go to the cross.
Grace works just the opposite.
The cause for sin is not breaking the relationship because you sin, but you sin because you broke the relationship. The important difference here is how you get back into the relationship. From the legalistic point, because you sinned and broke the relationship, what you must do is follow the law to get back into it. From the grace point, you sinned because you broke the relationship. What you need to do is to get back into the relationship in order to follow the law.