A 62-year-old Main Line woman who sold heroin out of her home, near an elementary school, to undercover police officers last year was sentenced Friday to 90 days in prison and seven years' probation, almost a year of which she will spend on house arrest.