Normally, you should maintain a following distance of:

Under normal conditions, you should allow at least two seconds of distance between you and the vehicle ahead of you. Increase your following distance any time conditions are less than ideal.
DMV Writen Test