Longer answer: The overarching idea is to respect the person's wishes and stated identity. In most cases, and certainly in Rebecca Heineman's case from what I've read, she always identified as female even when she was known as Bill Heineman. So out of respect we would typically refer to her as Rebecca (or with female pronouns) no matter which part of her life we're referring to.
There could be exceptions. In some cases, a person's former gender might be directly relevant to a story. (Imagine you're writing about a person, now female, who was sent to a boy's boarding school as a child. I think, at the least, you'd perhaps need to clarify that she identified as male at that point in her life...)