aids can infect you through bloodstream, semen, cuts ext. and from a dead body should not make it any less dangerous and should be just as infecting as in a live person.
You could contract HIV or any number of STD's. Consult a physician and get tested.
If you know that your partner has an HIV infection, get emergency anti-retroviral treatment as soon as possible....