The rights of a child in ancestral property do not cease to exist after the legal separation of his parents. Inheriting the property of his/her father prior to his death also does not disqualify him/her from claiming his share in the ancestral property.
The share can be culled out by filing a case for partition in court.