If you just need the extent of the polygon and not the actually polygon itself, then you can set the analysis extent to the desired shape. If you actually need a rectangle, you can create a featureclass/shapefile with a python script. What approach do you need?