You can never guarantee that you won't see death, as we are healthcare providers and things do happen, but you can help to minimize your level of exposure, as it's all in where you work. If you work in a critical setting, an ICU, an ER, hospice, oncology, etc., you can expect to see some death. But if you go somewhere like orthopedics, med/surg, labor and delivery, things like that, you will typically have transferred your patient out before things get that critical. The risk is still there...even hip fractures can go bad quickly, and babies can get into distress during the birth process, but those events are few and far between on a typically healthier, lower acuity floor.
When I worked on an ortho floor, I never saw death. Now that I'm in the ICU, I see it frequently. It was scary for me at first, and it was due a lot to my own insecurities about death. I had never dealt with a dead body, but now that I've had a few patients that died, it's easier. It's still a hard thing to do...you never get over the respect for human life. But it's easier to be in the room and not be uncomfortable at the fact that I'm bathing a deceased person now that I've had some exposure.
Was it the fact that the bones were from a child that got to you? If so, avoid pediatrics. Or was it just the fact that they were bones? Figuring out exactly what it was that got to you is key, because then you can figure out what to do to fix it, whether it's just a need for more familiarity, dealing with your own fears, or a weak stomach.