What happens to TEMP when I execute the following statement:

ALTER INDEX MY_INDEX REBUILD PARALLEL ONLINE NOLOGGING

Does TEMP need to be big enough to hold all the keys?