Very. The higher the megapixels (aka resolution) the better the picture quality will be. You will be able to make larger prints. ALso, consider that computer resolutions are increasing so it is becoming possible to view larger and larger resolution pictures on a standard computer monitor. Lower resolution photos will appear to be smaller (unless you zoom in beyond 100%) the larger monitors get.
A camera’s megapixel rating will help you determine the largest size of prints you can expect to make without sacrificing the quality of the image. It also will help you determine how much flexibility you will have with photo-editing software after an image has been captured. The higher the number of megapixels your camera has the more flexibility and options you will have when editing, cropping and printing your pictures. A larger original image will allow you to crop a smaller portion of the large photograph and still have a high quality print. More megapixels equal more detail.