Adhering to legal guidelines is crucial for nurses as it helps to avoid professional misconduct, ensures ethical practice, and maintains the integrity of the nursing profession. It also protects nurses from legal actions such as malpractice lawsuits and disciplinary actions by regulatory bodies.