To transfer a flat jointly into your and your sister's names after both parents have passed away, you'll need to obtain a legal heirship certificate from the relevant authority. This certificate, along with the death certificates of your parents and other required documents, should be submitted to the revenue or municipal department for mutation of the property records. Once the revenue records are updated, you can then apply to the housing society to transfer the shares accordingly.