Google has said a 404 cache doesn't impact your rankings and many sites are experiencing 404 caches after moving to the mobile first indexing process. So this is common. But John Mueller from Google ...
John Mueller of Google said it would be "a really bad idea which will cause all sorts of problems" if you block Google or other search engines from crawling pages that return a 404 server status code.