Smart contracts don't inherit from deployed smart contracts. Inheritance is a feature of the Solidity language, Solidity is compiled to EVM bytecode which is what is stored/deployed on the Ethereum blockchain.
When you inherit a contract in Solidity, the inherited contracts functionality is copied into the inheriting contract during the compilation process. The compiled bytecode is what is deployed to the Ethereum blockchain.