No. He'd have to be made a peer and sit in the House of Lords. Lord Salisbury was the last PM to sit there.
All of which is of course virtually impossible, even if constitutionally there's a way. If Cameron gets ousted there'd be a general election called and his successor as leader of the...