By most laws, you have to be within 12 inches of the curb or roadside, if no curb is present. Double parking, which is parking alongside another car that is already parked in the designated spot, is illegal whether it is a corner parking spot or not.