Seven Prime Ministers have died in office:

have any uk prime ministers died in office?
yes