Not sure what the rules are in your State, but if the crack obstrusts the driver's view at all, usually it needs to be replaced or the vehicle will not pass safety.
You may also want to talk to a Auto Glass repair shop, some cracks can be repaired if they are within a certain range.