Search engines (Google, Bing, Yahoo) love 404 (Not found) page. They do not like a custom page since They would like to drive visitors to the qualified web pages when visitors use their search engines. For a non qualified custom page:
It’s like a giraffe wearing a name tag that says “dog.”
For more information about this. Please read Google information here