The 25-year-old, who had suffered 90 percent burns, died early Saturday at the government-run Gandhi Hospital.
The incident had taken place at railway quarters at Chilkalguda in Secunderabad, the twin city of Hyderabad.
The woman, who was staying with her mother and grandmother in the house, was called out by four men known to her. She was later found engulfed in flames by the local residents, who doused the fire and shifted her to hospital.
The victim told police in her statement the same day that four men tried to sexually assault her and when she resisted they doused her with kerosene and set ablaze.
A police officer said the victim, in her statement, named the accused and the police were on the lookout for them. A case of murder and attempt to rape was registered.
BJP leader Bandaru Dattatreya visited the hospital and consoled the family members of the victim. He demanded stringent punishment for the guilty.