It depends on the circumstances. If they died in hospital or a nursing home, you will be given a death notification form, usually takes a few days to come out. Otherwise, and assuming there is no need for a coroner then who ever certifies the death at home should supply that. You can then take this to the Register to get the formal death Cert. End to end, it should only take a few days.