Phase I trial to study the effectiveness of gene therapy in treating patients with ovarian cancer that has not responded to previous treatment. Inserting the p53 gene into a person's cancer cells may improve the body's ability to fight cancer or make the cancer cells more sensitive to treatment.