The keyboard buttons
should just snap back into place, assuming the board/plungers weren't damaged. Although, it might be easier just to pop a new keyboard in.
Looks like you can get one delivered for under $20:
http://search.ebay.com/search/search.dll?sofocus=bs&satitle=dell+inspiron+E1505+keyboard