Each park is different so check their recreation.gov page. However, most set aside a portion of their passes to offer 1-5 days in advance. Very few have a same-day option.