Policy used to be a dead person was transported if in public view, not transported if in, say, a private residence outside of any public view. I am uncertain if the policy remains as such.
Remember one "transport" going directly to the Queens County, NYC NY, morgue. Deceased female allegedly asked someone in walkup apartment building stairwell to lower the volume on the boom box, the denial of request being a fatal GSW. Another crew "pronounced", and went available status, When the CSIs released the scene, my unit was assigned. My partner and I used the "Scoop" to get her off the stairs, and onto the stretcher, which had a body bag pre-positioned by us on it.
Policy had it so, transport of a DOA was the only call where the tech riding "shotgun" didn't have to ride in the back with the "patient", but my partner on that call, a strange person who openly stated he was using FDNY EMS as a stepping stone to being a fire fighter (also claimed to be a Fire Chief's son), decided to ride in the back. While he was within his rights to do so, everyone at my station used it as yet another reason to dislike the guy.