I think it is necessary for website owner to prevent crawler from specific location to index.. I don't think it is a requirement for google.
It is not except you want to tell specific action to do with search engine bots such as Googlebots such as exclusion specific folder or file from being crawled by them. Search engine bots usually do their jobs by crawling websites both with and without robots.txt contained.