Regardless of how long you have been separated, your separated partner (if you named your separated partner as an executor or beneficiary) will inherit.  It is important to draft a new proper Will if this is not your intent.