Yes, when you're legally separated, you're still legally married. No, ordinarily that time period does not get considered in dealing with equitable distribution issues.
So, to give you an answer that actually means something, more detail is needed in the question.