If you want a general answer, 300 DPI is good. The best OCR results usually for B/W images and if your image quality is low, you might improve it by applying image processing.
Also, if you are saving the scanned image then feeding it to the OCR engine, do NOT use lossy compression like JPEG. Note that there is a lossless JPEG compression but it is not commonly supported.