Yes, you can bring an action for the wrongful death of your spouse even if the two of you were separated when they were killed. Texas does not have legal separation anyway, so regardless of any technical separation, Texas law considers you still married. You can even still bring the action if you get remarried after their death.